//Title
Simulation Parameters

//General
;Assign Optimization Metering SmoothG SmoothFlow DelayType InitialFlow ThresFlow ConvError minCounter maxCounter
    0            2          1       0        1         0           1          0       5.0         1          300              

Assign                   parameter for assignment
                         0 = no assignment
                         1 = DDUO (deterministic dynamic user equilibrium)
                         2 = SDUO (stochastic dynamic user equilibrium with C-logit model using overlap in routes)

Optimization             parameter to determine optimisation of green times
                         0 = no optimization
                         1 = local optimization with local algorithm per simulation period
						 2 = local optimization with local algorithm per time step
						 3 = anticipatory network control

Metering                 parameter to determine type of ramp metering
                         0 = no ramp metering
                         1 = local ramp metering using capacity algorithm

SmoothG                  parameter to smooth the optimised green times or not
                         0 = no smoothing
                         1 = smoothing with g=gold+alpha*(gnew-gold)

SmoothFlow               parameter to smooth the new route flows or not
                         0 = no smoothing
                         1 = smoothing with u=uold+delta*(unew-uold)

DelayType                parameter for calculation of delay
                         DelayType = 0: basis for the calcultion of delay is the maximum speed specified by the user
                         DelayType > 0: basis for the delay is the maximum speed specified by the user and possibly adjusted with events

InitialFlow              parameter to determine initial flows in the network at the start of the simulation
			             0 = initial flows are zero
                         1 = initial flows are the same as for the first time period
                         
ThresFlow                threshold for the minimum flow for a route

ConvErr                  maximum allowed difference in flows between two iterations for convergence (percentage of demand)
                         
minCounter               minimum number of iterations                         
maxCounter               maximum number of iterations


//Assignment 
;  rho   beta gamma Kirchhoff initialAssign 
    10      1     2         0             1        

rho                      parameter projection method
beta, gamma              parameters C-logit model
Kirchhoff                parameter to determine if Kirchhoff assignment is used
                         0 = stochastic assignment with overlap in routes
                         1 = assignment according to Kirchhoff's law
                         2 = stochastic assignment without overlap in routes  
initialAssign            parameter for initial assignment 
         		         0 = initial assignment is based on distance
	             		 1 = initial assignment is based on free flow travel time, including junction delay
              			 2 = initial assignment is based on free flow travel time, without junction delay

//LocalControl 
;LContrMethod LOptPeriod AdjustSat
           99        300         0

LControlMethod			 1 = Webster (default)
						 2 = Smith's P0
						 3 = Genetic algorithm
						 9 = Dynamic green times from network file as input
						 99 = Dynamic green times from external file as input
LOptPeriod				 length of period to optimize local control for optimization = 2
AdjustSat                automatic adjustment of saturation flow of controlled links for extra lanes
						 0 = no
						 1 = yes
			
//AntControl 
;nrAssign nRTperiods optCriterium LTimeStepOpt
        2          1            2          150  

nrAssign                number of assignment iterations to predict route choice  
nRTperiods				number of periods to predict in the real-time anticipatory control optimization
optCriterium			criterion to optimize within the real-time anticipatory control optimization
LTimeStepOpt			time step used in the real-time anticipatory control optimization

//Routes
;nrRoutes nrRand scaleFac linkCost linkEqual junctionDelay ODdist
     4       60    0.66       1       1.00         0          0 

nrRoutes                maximum number of routes for each OD pair (route generation)
nrRand                  number of random generations to determine routes
scaleFac                scale factor for scaling the random component
linkCost                parameter for shortest path calculations:
		             	0 = calculation is based on distance
			            1 = calculation is based on free flow travel time
linkEqual               percentage of links that is allowed to be equal in routes
			            if higher percentage is found, routes are considered to be equal
JunctionDelay           0 = calculation of routes does not take into account delay at junctions
                        1 = calculation of routes does take junction delay into account
ODdist                  0 = OD relations with flow smaller than ThresFlow are uniformly distributed
                            among other OD relations with same origin or destination
                        1 = OD relations with flow smaller than ThresFlow are distributed amont other
                            OD relations with same origin or destination, taking into account the flows.

//VehPar
;VehLen  TruckV  minV1  minV2  Ja1  Ja2  Ja3  Ja4  Ja5  Ja6  Ja7  Ja8  Ja9 
   7.5      80     10     10    85   75   60   50   40   20   15   10   10 

VehLen                  average vehicle length
TruckV                  free speed for trucks (used for travel time calcualations for trucks)
minV1                   minimum speed for links with free speed > 90
minV2                   minimum speed for links with free speed <= 90
Ja1                     speed at congestion for links with free speed > 110
Ja2                     speed at congestion for links with 90 < free speed <= 110
Ja3                     speed at congestion for links with 70 < free speed <= 90
Ja4                     speed at congestion for links with 60 < free speed <= 70
Ja5                     speed at congestion for links with 50 < free speed <= 60
Ja6                     speed at congestion for links with 40 < free speed <= 50
Ja7                     speed at congestion for links with 30 < free speed <= 40
Ja8                     speed at congestion for links with 20 < free speed <= 30
Ja9                     speed at congestion for links with  0 < free speed <= 20

//TollPar
;TollType  ValTime1  ValTime2  ValTime3  ValTime4 
     0         10.0      15.0       8.5      24.6  

TollType                type of toll: 0 = no tolling
                                      1 = tolling on every link (price (euro) per km)
                                      2 = tolling on specified links (//TollLinks)
ValTime1                Value of Time (euro/hr) for travel motive 1 (commuting)
ValTime2                Value of Time (euro/hr) for travel motive 2 (business)
ValTime3                Value of Time (euro/hr) for travel motive 3 (other purposes)
ValTime4                Value of Time (euro/hr) for travel motive 4 (freight)

//EventSimPar
;EventSimType  EventSimAssign  EventSimNrIter  
            0               2              3  

EventSimType            Type of event simulation: 0 = no extra simulation of events
                                                  1 = extra simulation of events
                                                  2 = extra simulation of events + VMS info
                                                  3 = extra simulation with only VMS info
EventSimAssign          Value for Assignment type for extra simulation of events
EventSimNrIter          Number of iterations for extra simulation of events

//TimePenaltyPar
;TimePenaltyType IC-threshold PenaltyNrIter
               0         95              1

TimePenaltyType         Type of time penalty added: 0 = no time penalty
                                                    1 = extra travel time for links IC > IC-threshold
													2 = extra travel time for links on specified nettype
IC-threshold            Value for IC-threshold (1-100%)
PenaltyNrIter           Number of iterations for extra assignment


//Resume
;ResumeSim  ResInputFile  ResOutputFile
     0    "D:\Traffic\MARPLE\Resume1.mat" "D:\Traffic\MARPLE\Resume2.mat"
	 
ResumeSim               type of resume: 0 = no resume
                                        1 = resume after every iteration of the assignment
                                        2 = resume after every time step
ResumeInputFile         file for MARPLE variables to resume simulation (only for ResumeSim=1)
ResumeOutputFile        file for MARPLE variables to store values for next resume (only for ResumeSim=1)

//PlotPar
;MFDplot  MFDperiod  ContourPlot  StartTime  FlowPlot  SpeedPlot  ControlPlot   TravelTimePlot
       0          5            0          7         1         0             1                0 

MFDplot                 flag to determine if MFD plots will be generated
MFDperiode              aggregation period for the MFD plots in minutes
ContourPlot             flag to determine if speed contour plots for the route parts will be generated
StartTime               start time of the contour plot in hours on a 24 hour scale (so 6 = 06:00 and 15.5 is 15:30).
FlowPlot				flag to generate plots for link flows for the links specified in the file 'MARPLE-Graphs.txt'
SpeedPlot				flag to generate plots for link speeds for the links specified in the file 'MARPLE-Graphs.txt'
ControlPlot				flag to generate plots for timings for the signals specified in the file 'MARPLE-Graphs.txt'
TravelTimePlot			flag to generate plots for travel times of the route sets specified in the file 'MARPLE-Graphs.txt'

//Output
;outputflag  binary  emissions 
          1       1          0 

outputflag             flag for output: 0 = minimal, 1 = normal, 2 = selected link, 3 = LMS, 4 = selected link + LMS
binary                 flag for writing output directly into the OmniTRANS database  
emissions              flag for calculating emissions from MARPLE output

//EmissionPar
;truckperc  excelout  binout
        10         0      0 

truckperc              fixed percentage (%) of trucks used in the calculation of emissions
excelout               flag for writing detailed emissions output in an Excel file  
binout                 flag for writing detailed emissions output in binary output (MAT-file)
